# Contributor: Luca Weiss <luca@lucaweiss.eu>
# Maintainer: Luca Weiss <luca@lucaweiss.eu>
pkgname=fscryptctl
pkgver=1.1.0
pkgrel=1
pkgdesc="Small C tool for Linux filesystem encryption"
url="https://github.com/google/fscryptctl"
arch="all"
license="Apache-2.0"
makedepends="linux-headers"
source="https://github.com/google/fscryptctl/archive/v$pkgver/fscryptctl-$pkgver.tar.gz"
options="!check" # tests require root

# Skip building docs because pandoc is only available for x86_64 and aarch64

build() {
	make fscryptctl
}

package() {
	make PREFIX=/usr DESTDIR="$pkgdir" install-bin
}

sha512sums="
3ee37d3b10a145b2c50fa56644461313437d97f9ca1a840f6e897f527c5bf6c15af1172a1994b3ff0038f469a74edfa40f7383c08f24b195a78f3f5d35dd895b  fscryptctl-1.1.0.tar.gz
"
